﻿using SportsPlatform.BaseModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.Model.SportBusiness
{
    /// <summary>
    /// 项目管理类别实体
    /// </summary>
    [Table("T_B_ProjectType")]
    public class ProjectType : BaseModel
    {
        /// <summary>
        /// 分类名称
        /// </summary>       
        [MaxLength(15)]
        public string Name { get; set; }

        /// <summary>
        /// 父级ID（0：一级分类）
        /// </summary>
        public Guid? ParentId { get; set; }

        /// <summary>
        /// 状态（0：禁用；1：启用）
        /// </summary>
        public bool State { get; set; }
    }
}
